package org.adream.account.dao;

import java.util.List;

import org.adream.account.entity.HrmResourceEntity;
import org.apache.ibatis.annotations.Param;

@BaseMybatisDao
public interface HrmResourceDao {
	
	int updateHrmResource(HrmResourceEntity hrmResource);
	
	HrmResourceEntity queryHrmResourceByTextField3(@Param("textfield3") String textfield3);

	HrmResourceEntity queryHrmResourceById(@Param("id") Integer id);
	
	HrmResourceEntity queryHrmResourceByLoginid(@Param("loginid") String loginid);
	
	List<HrmResourceEntity> queryHrmResources();
	
	List<HrmResourceEntity> queryBoundHrmResources(@Param("loginid") String loginid);
}